﻿using System;

namespace SharpSqlAnalyzer.nodes.mdx
{
	// Token: 0x020003F4 RID: 1012
	public class TMdxWhenNode : TMdxExpNode
	{
		// Token: 0x17000906 RID: 2310
		// (get) Token: 0x060027F0 RID: 10224 RVA: 0x0033C165 File Offset: 0x0033A365
		public override EMdxDataType MdxDataType
		{
			get
			{
				return EMdxDataType.Unknown;
			}
		}

		// Token: 0x17000907 RID: 2311
		// (get) Token: 0x060027F1 RID: 10225 RVA: 0x0033C168 File Offset: 0x0033A368
		public virtual TMdxExpNode WhenExpr
		{
			get
			{
				return this.whenExpr;
			}
		}

		// Token: 0x17000908 RID: 2312
		// (get) Token: 0x060027F2 RID: 10226 RVA: 0x0033C170 File Offset: 0x0033A370
		public virtual TMdxExpNode ThenExpr
		{
			get
			{
				return this.thenExpr;
			}
		}

		// Token: 0x060027F3 RID: 10227 RVA: 0x0033C178 File Offset: 0x0033A378
		public override void init(object arg1, object arg2)
		{
			this.whenExpr = (TMdxExpNode)arg1;
			this.thenExpr = (TMdxExpNode)arg2;
		}

		// Token: 0x060027F4 RID: 10228 RVA: 0x0033C192 File Offset: 0x0033A392
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x060027F5 RID: 10229 RVA: 0x0033C1A2 File Offset: 0x0033A3A2
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			this.whenExpr.acceptChildren(v);
			this.thenExpr.acceptChildren(v);
			v.postVisit(this);
		}

		// Token: 0x04001DEC RID: 7660
		private TMdxExpNode whenExpr;

		// Token: 0x04001DED RID: 7661
		private TMdxExpNode thenExpr;
	}
}
